﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartMD.DataModel.Entity
{
    public class DiagnoseGroup : BusinessEntity
    {
        public string _followupId;
        public string _diagnose;

        public override void setValue(string key, Object value)
        {
            if (value is System.DBNull)
                return;
            switch (key.ToLower())
            {
                case "id":
                    this.Id = value.ToString();
                    break;
                case "followupid":
                    this.FollowupId = value.ToString();
                    break;
                case "diagnose":
                    this.Diagnose = value.ToString();
                    break;
            }
        }

        public string FollowupId
        {
            get
            {
                return _followupId;
            }
            set
            {
                _followupId = value;
                OnPropertyChanged(() => FollowupId);
            }
        }
        public string Diagnose
        {
            get
            {
                return _diagnose;
            }
            set
            {
                _diagnose = value;
                OnPropertyChanged(() => Diagnose);
            }
        }
    }
}
